package com.corpdata.app.customer.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import com.corpdata.core.base.BaseController;

/**
 * 分店访客
 * 
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-08-03 11:00:04
 */
 
@Controller
@RequestMapping("app/customerVisit")
public class CustomerVisitController extends BaseController{
	
	//首页页面
	@GetMapping("/index")
	public String index(){
		return "app/customer/visit/visit_list";
	}
	
	//开门记录页面
	@GetMapping("/inOutList/{projectId}")
	public String inOutList(ModelMap map,@PathVariable("projectId") String projectId){
	    return "app/project/door/door_inout_list";
	}
	
	//门禁管理页面
	@GetMapping("/doorManage/{projectId}")
	public String doorManage(ModelMap map,@PathVariable("projectId") String projectId){
	    return "app/project/door/door_manage";
	}
	
	
	//编辑页面门禁权限
	@GetMapping("/edit")
	public String toedit(){
		return "app/project/door/door_manage_edit";
	}
	
	@RequestMapping("/details/{id}")
	public String details(ModelMap map,@PathVariable("id") String id){
		
		return "app/project/door/door_manage_details";
	}
	
	
	
}
